package tiantao.taogu.message.smsTemplate;

import java.util.Map;

/**
 * 短信基础类 所有模板类需继承此类，无模板短信直接使用此类（纯文本模板）
 * @author renyongzhen
 */
public class SmsTemplete {
  
  /**
   * 全文本内容 即使使用短信模板，也需要传入此字段
   */
  private String content;
  
  private String mobile;
  
  private String hospitalGuid;
  
  private Map<String,Object> params; //模板参数
  
  private String templeteName;//模版id 
  
  /**
   * 获取模板名称(短信配置项根据此名称对应在运营商申请的短信模板ID)
   * @return
   */
  public  String getTempleteName() {
    return templeteName;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }
  
  @Override
  public String toString() {
    return content;
  }

  public Map<String, Object> getParams() {
    return params;
  }

  public void setParams(Map<String, Object> params) {
    this.params = params;
  }

  public void setTempleteName(String templeteName) {
    this.templeteName = templeteName;
  }

  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  public String getHospitalGuid() {
    return hospitalGuid;
  }

  public void setHospitalGuid(String hospitalGuid) {
    this.hospitalGuid = hospitalGuid;
  }

}
